import {createApp} from 'vue'
import {createPinia} from 'pinia'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
import '@/access.ts'

import App from './App.vue'
import router from './router'

import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
import relativeTime from 'dayjs/plugin/relativeTime'

dayjs.extend(relativeTime)
dayjs.locale('zh-cn')   // 关键：切换成中文

const app = createApp(App)

app.use(createPinia())
    .use(router)
    .use(Antd)
    .mount('#app')


